package cn.zz.veggie.web.types.dto.mgmt.order;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Positive;

/**
 * @author zhongq
 * @since 2024/6/3
 */
public class MgmtOrderItemSaveDto extends MgmtOrderItemDto {
	@Positive
	private Integer id;
	@NotNull
	@Positive
	private Integer orderId;

	public void requireValid() {

	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getOrderId() {
		return orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}
}